package com.ruge.user.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @author ruge.wu
 * @since 2021/12/24 13:32
 */
@Getter
@Setter
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "保存用户数据")
public class SaveUserRequest {
    @NotBlank(message = "用户名 必填")
    @ApiModelProperty("用户名")
    private String userName;

    @NotBlank(message = "密码 必填")
    @ApiModelProperty("密码")
    private String passWord;
}
